package CreationModel.PrototypeModel;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-05 15:10:00
 */
public class ResumeDeepCopeClient {

    public static void main(String[] args) throws Exception{


        ResumeDeepCopy resume1 = new ResumeDeepCopy();
        resume1.setUserInfo("王蕾","24","女");
        resume1.setWorkExperience(new WorkExperience("2015-2018","搜狐畅游"));


        ResumeDeepCopy resume2 = (ResumeDeepCopy) resume1.clone();
        resume2.setWorkExperience(new WorkExperience("2018-2021","京东"));

        resume1.display();
        resume2.display();

    }
}
